{wc:templates "index","header"}
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_STYLE}/css/Detail.css" />
<link rel="stylesheet" type="text/css" href="{G_TEMPLATES_STYLE}/css/yj_detail2.css" />
<!--晒单详情-->
<style type="text/css">
.m-position a {
    color: #bbb;
}

.f-tran-next {
    margin-left: 5px;
}

.f-tran-prev {
    margin-right: 5px;
}

.single-info dd.single-fufen span {
    display: block;
    width: 73px;
    height: 37px;
    padding-top: 36px;
    background: url({G_TEMPLATES_STYLE}/images/blessing.png) no-repeat;
    text-align: center;
    font-size: 14px;
    color: #f60;
    line-height: 21px;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: -46px;
}

.gray6 {
    color: #666!important;
}

.g-pagination {
    padding-top: 0!important;
    padding-bottom: 30px;
}

.g-pagination {
    clear: both;
    text-align: center;
    font-size: 14px;
    height: 31px;
    padding-top: 50px;
}

.g-pagination span {
    height: 31px;
    line-height: 31px;
    color: #999;
    margin: 0 4px;
    padding: 50px 0;
}

.g-pagination span.f-noClick a {
    color: #cbcbcb;
    background: #f4f4f4;
    cursor: default;
}

.g-pagination span a {
    display: inline-block;
    height: 29px;
    line-height: 29px;
    text-align: center;
    color: #999;
    padding: 0 10px;
    border: 1px solid #e4e4e4;
    cursor: pointer;
}

.f-tran-prev {
    margin-right: 5px;
}

.f-tran {
    font-family: "\5b8b\4f53";
}

.tt-current a {
    background: #f60;
    border: 1px solid #f60;
    color: #fff !important;
    font-weight: bold;
}
</style>
<!-- <div class="Current_nav"><a href="{WEB_PATH}">首页</a> &gt; <a href="#">晒单分享</a> &gt; 晒单详请</div> -->
<div class="m-position" style="color: #bbb;
    padding: 10px 0;
    text-align: left;width: 1200px">当前位置：
    <a href="{WEB_PATH}" title="首页">首页</a>
    <span class="f-tran f-tran-prev f-tran-next">&gt;</span>
    <a href="#" title="晒单列表">晒单列表</a>
    <span class="f-tran f-tran-prev f-tran-next">&gt;</span>晒单详情
</div>
<!-- 内容start -->
<div class="g-main-con clrfix" id="loadingPicBlock" style="width: 1200px;">
    <div class="w1190">
        <div class="g-detailCon clrfix" style="background: #f4f4f4;">
            <!--左边部分-->
            <div class="m-detail-left clrfix" style="background: #f4f4f4">
                <!--会员和商品信息宽屏-->
                <div class="winners-info gray9 clrfix">
                    <ul>
                        <li class="win-head">
                          <a href="?/uname/{wc:fun:idjia($shaidan['sd_userid'])}" target="_blank">
                              {wc:if userid($sdhf['sdhf_userid'],'img')==null}
                              <img src="{G_TEMPLATES_STYLE}/images/prmimg.jpg" width="50" height="50" />
                              {wc:else}
                              <img id="imgUserPhoto" src="{G_UPLOAD_PATH}/{wc:fun:userid($sdhf['sdhf_userid'],'img')}" width="50" height="50" border="0"/>
                              {wc:if:end} 
                             <s class="transparent-png"></s>
                          </a>
                        </li>
                        <li class="win-name">
                            <a href="http://u.1yyg.com/1010228184" target="_blank">{wc:fun:userid($shaidan['sd_userid'],'username')}</a>
                        </li>
                        <li><i>本云参与：</i><em class="orange f-tran-prev">{wc:fun:get_user_goods_num($shaidan['sd_userid'],$shaidan['sd_shopid'])}</em>人次</li>
                        {wc:php:start} $jikxiao = get_shop_if_jiexiao($shaidan['sd_shopid']); {wc:php:end} {wc:if $jikxiao['q_uid']}
                        <li><i>&nbsp;中奖码：</i><span class="orange">{wc:$jikxiao['q_user_code']}</span></li>
                        {wc:if:end}
                        <li><i>揭晓时间：</i>
                            <cite>{wc:fun:microt($jikxiao['q_end_time'],'yjmp')}</cite>
                        </li>
                        <li><i>订单状态：</i>
                            <cite>{wc:$order_info['status']}</cite>
                        </li>
                        <li><i>快递公司：</i>
                            <cite>{wc:$order_info['company']}</cite>
                        </li>
                        <li><i>快递单号：</i>
                            <cite>{wc:$order_info['company_code']}</cite>
                        </li>
                        <li><i>快递查询：</i>
                            <cite><a href="http://www.kuaidi100.com/?from=open">点击查询</a></cite>
                        </li>
                    </ul>
                    <b class="point-out"><s></s></b>
                </div>
                <div class="next-period">
                    <dl>
                        <dt>
                            <a rel="nofollow" href="{WEB_PATH}/dataserver/{wc:$shaidan['sd_shopid']}" target="_blank"><img src="{G_UPLOAD_PATH}/{wc:$goods['thumb']}"></a>
                        </dt>
                        <dd class="comm-name ">
                            <p><a href="{WEB_PATH}/dataserver/{wc:$shaidan['sd_shopid']}" target="_blank">(第{wc:$jikxiao['qishu']}云){wc:$jikxiao['title']}</a></p>
                        </dd>
                        <dd class="gray9">商品价值：￥{wc:$jikxiao['money']}</dd>
                        <!-- <dd class="have-in"><a rel="nofollow" href="{WEB_PATH}/goods/{wc:$goods['id']}" target="_blank">第{wc:$goods['qishu']}云正在进行中...</a></dd> -->
                    </dl>
                    <span class="publicly-get transparent-png" style="width: 65px;height: 65px;background: url({G_TEMPLATES_STYLE}/images/publicly-get.png) no-repeat;position: absolute;top: -5px;left: -5px;"></span>
                </div>
                <!--他的其他晒单-->
            </div>
            <!--中间部分-->
            <div class="m-detail-middle clrfix">
                <!--晒单内容-->
                <div class="single-info clrfix">
                    <dl>
                        <dt class="gray3">{wc:$shaidan['sd_title']}</dt>
                        <dd class="single-fufen">
                            <span class="transparent-png" style="display: none;"><b>500</b></span>
                        </dd>
                        <dd class="gray6">
                            {wc:$shaidan['sd_content']}
                        </dd>
                        <dd>
                            {wc:loop $shaidan['imgs'] $img} {wc:if $img}
                            <img src="{G_UPLOAD_PATH}/{wc:$img}" border="0" alt=""> {wc:if:end} {wc:loop:end}
                        </dd>
                    </dl>
                </div>
                <!--回复总数-->
                <div class="reply-total clrfix" style="height: 30px">
                    <ul>
                        <li class="m-gxhf gray6 fl"><i style="float: left;width: 14px;height: 14px;background-position: 0 -20px; position: relative;top: 4px;_top: 2px; margin-right: 5px;display: block;background-image: url({G_TEMPLATES_STYLE}/images/single_Detai.gif);background-repeat: no-repeat;overflow: hidden;"></i>共<em class="orange" id="emReplyCount">{wc:$shaidan['sd_ping']}</em>条评论</li>
                        <li class="m-share fr" id="li_share" style="display: ;">
                            <p id="p_xianmu" class="u-xianmu">
                                <a href="javascript:;" id="emHits">
                                    <i class="transparent-png"></i>
                                    <em>羡慕</em>
                                    <span class="gray9"><cite>
                                            {wc:$shaidan['sd_zhan']}</cite><b><s></s></b>
                                        </span>
                                    <img class="transparent-png" src="./嘢，中奖了_晒单分享_1元云购_files/xin.png" alt="">
                                </a>
                            </p>
                            <!-- Baidu Button BEGIN -->
                            <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"><span class="bds_more" style="width: 30px;float: left;display: inline;">分享</span>
                                <div class="bdsharebuttonbox" style="    padding: 0;margin-top: 3px;width: 20px;float: left;">
                                    <a href="#" class="bds_more" data-cmd="more" style="margin: 0;padding: 0;width: 16px;height: 17px;"></a>
                                </div>
                                <script>
                                window._bd_share_config = {
                                    "common": {
                                        "bdSnsKey": {},
                                        "bdText": "",
                                        "bdMini": "2",
                                        "bdMiniList": false,
                                        "bdPic": "",
                                        "bdStyle": "0",
                                        "bdSize": "16"
                                    },
                                    "share": {}
                                };
                                with(document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
                                </script>
                            </div>
                        </li>
                    </ul>
                </div>
                <!--晒单评论开始-->
                <!--输入框-->
                {wc:if !$member}
                <div id="bottomComment" style="height: 120px">
                    <div class="not-login clrfix input-comment-bor" style="border-bottom: none;">
                        <div class="point-box fl gray6">请您
                            <a href="{WEB_PATH}/member/user/login" name="replyLoginBtn">登录</a> 或
                            <a href="{WEB_PATH}/member/user/register">注册</a>后再评论
                            <b><s></s></b>
                        </div>
                    </div>
                </div>
                {wc:else}
                <div class="Comment_form" style="margin-left: 30px;">
                    <div class="Comment_textbox">
                        <form action="" method="post" style="width: 652px;">
                            <textarea name="sdhf_content" class="Comment-txt"></textarea>
                            <div style="line-height:25px;margin-top:5px;display: inline-block;padding:0px;">
                                <span style=" float:right"><img onclick="this.src = this.src + '/0'" src="{WEB_PATH}/api/checkcode/image/60_25_0_0_4/"/></span>
                                <span style="color:#aaa;float:left">验证码: </span>
                                <input type="text" name="sdhf_code" style="width:80px;height:20px;" />
                            </div>
                            <input type="submit" name="submit" value="发表评论" class="reply_unbotton">
                        </form>
                    </div>
                </div>
                {wc:if:end}
                <!--评论列表-->
                <div id="commentList" class="comment-main clrfix" style="">
                    <ul>
                        {wc:loop $shaidan_hueifu $hf}
                        <li>
                            <div class="input-pic fl">
                                <a type="showCard" href="?/uname/100000{wc:$hf['sdhf_userid']}" target="_blank" title="{wc:$hf['sdhf_username']}">
                                    <img src="{G_UPLOAD_PATH}/{wc:$hf['sdhf_img']}" alt="{wc:$hf['sdhf_username']}">
                                    <i class="transparent-png"></i>
                                </a>
                            </div>
                            <div class="m-review fl">
                                <dl>
                                    <dt>
                                        <a type="showCard" href="?/uname/100000{wc:$hf['sdhf_userid']}" target="_blank" title="{wc:$hf['sdhf_username']}">{wc:$hf['sdhf_username']}</a>{wc:fun:yj_time($hf['sdhf_time'])}<em></em>
                                    </dt>
                                    <dd>
                                        <span class="gray3">{wc:$hf['sdhf_content']}</span>
                                        <cite style="display: none;">
                                            <a href="javascript:;" name="SignReplay" num="0" loadeditor="0">回复<em></em></a>
                                            <input name="replyDataState" type="hidden" value="0">
                                        </cite>
                                    </dd>
                                </dl>
                                <div name="ReplyBox" class="reply-comment clrfix" style="display:none;">
                                    <!--输入框-->
                                    <div name="ReplyForm"></div>
                                    <!--评论-->
                                    <div name="ReplyList" class="comment-main clrfix" style="display:none;"></div>
                                </div>
                            </div>
                        </li>
                        {wc:loop:end}
                    </ul>
                </div>
                <!--晒单评论结束-->
            </div>
            <!--右边-->
            <div class="m-detail-right clrfix" style="background: #f4f4f4">
                <!--最新晒单-->
                <div class="new-single">
                    <h4 class="gray3">最新晒单</h4>
                    <ul>
                        {wc:loop $shaidannew $sdn}
                        <li>
                            <cite>
                                <i></i>
                                <em>
                                <a href="?/go/shaidan/detail/{wc:$sdn['sd_id']}" title="">{wc:$sdn['sd_title']}</a>
                              </em>
                            </cite>
                            <a rel="nofollow" href="?/go/shaidan/detail/{wc:$sdn['sd_id']}">
                                <span class="gray9">{wc:$sdn['sd_content']}</span>
                            </a>
                            <p style="margin-left: -10px;">
                                {wc:loop $sdn['imgs'] $imgs} {wc:if $imgs != ''}
                                <a rel="nofollow" href="?/go/shaidan/detail/{wc:$sdn['sd_id']}">
                                    <img src="{G_UPLOAD_PATH}/{wc:$imgs}" border="0" style="width: 72px;" alt="">
                                </a>
                                {wc:if:end} {wc:loop:end}
                            </p>
                        </li>
                        {wc:loop:end}
                    </ul>
                </div>
            </div>
            <!-- 清除浮动 -->
            <div style="clear: left;"></div>
        </div>
    </div>
</div>
<!-- 内容end -->
<script>
$(function() {
    if ($.cookie('xianmu') == {
            wc: $shaidan['sd_id']
        }) {
        $("#emHits").addClass("smile-have");
        return false;
    }
    $("#emHits").click(function() {
        $.post(
            "{WEB_PATH}/go/shaidan/xianmu", {
                id: "{wc:$shaidan['sd_id']}"
            },
            function(data) {
                $("#emHits cite").text(data);
                $("#emHits").addClass("smile-have");
                $.cookie("xianmu", "{wc:$shaidan['sd_id']}", {
                    expires: 7,
                    path: '/'
                });
            }
        );
    })
})
</script>
<script type="text/javascript">
</script>
{wc:templates "index","footer"}
